A wrapper for the standard ADO.NET DataTable class allowing to use ADO.NET data sources in LiveLinq indexing and live views.
Namespace:
C1.LiveLinq.AdoNetAssembly: C1.LiveLinq (in C1.LiveLinq.dll)
Syntax
C# |
---|
[DebuggerDisplayAttribute("\{Count = {Count} \}")] [DefaultMemberAttribute("Item")] public class IndexedDataTable<TRow> : IObservableSource<TRow>, IItemIdProvider<TRow>, IIndexedSource<TRow>, IList<TRow>, ICollection<TRow>, IEnumerable<TRow>, IEnumerable, IIndexedDataTable, ITypedList, IListSource, INotifyPropertyChanged where TRow : DataRow |
Visual Basic |
---|
<DebuggerDisplayAttribute("\{Count = {Count} \}")> _ <DefaultMemberAttribute("Item")> _ Public Class IndexedDataTable(Of TRow As DataRow) _ Implements IObservableSource(Of TRow), IItemIdProvider(Of TRow), _ IIndexedSource(Of TRow), IList(Of TRow), ICollection(Of TRow), _ IEnumerable(Of TRow), IEnumerable, IIndexedDataTable, ITypedList, IListSource, _ INotifyPropertyChanged |
Type Parameters
Remarks
Note: The IndexedDataTable wrapper is owned by the original DataTable object
(in fact, it is stored in its ExtendedProperties). So, if you create a wrapper for the same data table several times,
it will be the same object.